<?php

namespace App\Repositories;

use App\Models\Navigate;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class NavigateRepository
 * @package App\Repositories
 * @version November 13, 2017, 4:29 am CST
 *
 * @method Navigate findWithoutFail($id, $columns = ['*'])
 * @method Navigate find($id, $columns = ['*'])
 * @method Navigate first($columns = ['*'])
*/
class NavigateRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'skip_type',
        'skip_id',
        'skip_url',
        'image_name',
        'image',
        'sort'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return Navigate::class;
    }
}
